package com.bdmc.task.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.bdmc.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 每日排班详情对象 task_plan_detail
 *
 * @author bdmc
 * @date 2022-03-06
 */
@Data
@Accessors(chain = true)
@TableName("task_plan_detail")
public class TaskPlanDetail implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 计划详情id
     */
    @TableId(value = "plan_detail_id")
    private Long planDetailId;
    /**
     * 排班计划id（父表id）
     */
    private Long workPlanId;
    /**
     * 生效日期
     */
    private LocalDate effectDate;
    /**
     * 班组id
     */
    private Long workTeamId;
    /**
     * 状态，1=正常，2休假，3=请假
     */
    private Integer detailStatus;

}
